﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ManagementSystem
{
    /// <summary>
    /// 个人信息窗体
    /// </summary>
    public partial class FormAbout : Form
    {
        public FormAbout()
        {
            InitializeComponent();
        }

        private void FormAbout_Load(object sender, EventArgs e)
        {
           
        }

        /// <summary>
        /// 运行系统
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            //点击运行系统按钮出现系统登录界面
            FormLogin frm = new FormLogin();
            var result = frm.ShowDialog();

            //登陆成功后隐藏FormAbout窗体
            if (result != DialogResult.OK)
            {
                //隐藏窗体 
                this.Hide();
            }
        }
    }
}
